// 银行账号管理
export const BankAccountThead = [
  {
    type: 'selection',
    width: 60,
    align: 'center'
  },
  {
    title: '开户行名称',
    key: 'bankName'
  },
  {
    title: '银行账号',
    key: 'accountNo'
  },
  {
    title: '所属人力资源公司',
    key: 'organizationName'
  },
  {
    title: '科目编码',
    key: 'subjectCode'
  },
  {
    title: '是否在账单显示',
    key: 'isDisplayInBill',
    render: (h, params) => {
      const text = params.row.isDisplayInBill ? '是' : '否'
      return h('span', text)
    }
  },
  {
    title: '状态',
    key: 'enabled',
    render: (h, params) => {
      const text = params.row.enabled ? '启用' : '禁用'
      return h('span', text)
    }
  },
  {
    title: '操作',
    width: 450,
    align: 'center',
    key: 'action',
    slot: 'action'
  }
]
